package com.by.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * date 2025/2/14 16:43
 * author bjj
 * decoration
 * version 1.0
 * since jdk11
 */
@Data
@ApiModel("分页结果")
@AllArgsConstructor
@NoArgsConstructor
public class PageBean<T> {
    @ApiModelProperty("当前页数")
    int page;
    @ApiModelProperty("每页记录数")
    int pageSize;
    @ApiModelProperty("总记录数")
    long total;
    @ApiModelProperty("分页结果")
    T data;
}
